package com.liy.framework.common.web.exception;

public class ApiParamValidatorException extends Exception {
    private static final long serialVersionUID = 1L;
    private String code;
    private String message;

    public ApiParamValidatorException() {
    }

    public ApiParamValidatorException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public ApiParamValidatorException(Throwable cause) {
        super(cause);
    }

    public ApiParamValidatorException(String message, Throwable cause) {
        super(message, cause);
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
